<?php
function RenderLayout(){
    $folders = scandir("\TemplateEngine\Template");
    foreach($folders in $folder){
        $newline = isfile("/TemplateEngine/Template/$folder/NEWLINE.txt");
        if(!$Newline){
            print "<div id='$folder' class='Brick'>";
            print "<?php include('/TemplateEngine/Template/$folder/function.php')";
            print "</div>";
        }
        elseif(){
            print "<br>";
        }
    }
}
RenderLayout();
?>